7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
....

.... I am really astonished that I could not find anyone else who had this
problem. Am I doing something horridly wrong?

What can I do? I try ./configure'ing PHP, but it tells me:
gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
-lm -lcrypt 1>&5
Shared object "libpq.so.2" not found

Complete debug.log installed.

PLEASE help...

--Jessica

--
Jessica L. Blank, Systems Administrator & Programmer

www.starchefs.com
9 East 19th St., 9th Floor / New York, NY 10003
Jessica [at] StarChefs.com - (973) 485-0684
Pager (917) 675-6618


Help Wanted. Help Found.
www.helpwantedhelpfound.com, a division of StarChefs



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo [at] postgresql.org)
Jessica Blank [ Di, 04 Februar 2003 04:12 ] [ ID #31299 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime [at] docserver.cac.washington.edu for more info.

---559023410-641078858-1044328435=:14859
Content-Type: TEXT/PLAIN; charset=US-ASCII

Forgot the debug.log. It is attached. Also, below:

CONFIGURE: './configure' '--with-apache=../apache_1.3.27' '--with-pgsql=/usr/local/pgsql/'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -I/usr/pkg/include
CXX:
CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/usr/local/pgsql//include
LDFLAGS: -L/usr/pkg/lib -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib
LIBS: -lpq -lcrypt -lm -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/pgsql//lib
uname -a: NetBSD fortitude 1.6 NetBSD 1.6 (fortitude) #0: Tue Dec 31 21:36:31 EST 2002 root [at] fortitude:/usr/src/sys/arch/macppc/compile/fortitude macppc

gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt -lm -lcrypt 1>&5
Shared object "libpq.so.2" not found

On Mon, 3 Feb 2003, Jessica Blank wrote:

> The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> ...
>
> ... I am really astonished that I could not find anyone else who had this
> problem. Am I doing something horridly wrong?
>
> What can I do? I try ./configure'ing PHP, but it tells me:
> gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
> -R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
> -lm -lcrypt 1>&5
> Shared object "libpq.so.2" not found
>
> Complete debug.log installed.
>
> PLEASE help...
>
> --Jessica
>
> --
> Jessica L. Blank, Systems Administrator & Programmer
>
> www.starchefs.com
> 9 East 19th St., 9th Floor / New York, NY 10003
> Jessica [at] StarChefs.com - (973) 485-0684
> Pager (917) 675-6618
>
>
> Help Wanted. Help Found.
> www.helpwantedhelpfound.com, a division of StarChefs
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo [at] postgresql.org)
>


--Jessica

--
Jessica L. Blank, Systems Administrator & Programmer

www.starchefs.com
9 East 19th St., 9th Floor / New York, NY 10003
Jessica [at] StarChefs.com - (973) 485-0684
Pager (917) 675-6618


Help Wanted. Help Found.
www.helpwantedhelpfound.com, a division of StarChefs


---559023410-641078858-1044328435=:14859
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="debug.log"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.05.10302032213550.14859 [at] knife.starchefs.com>
Content-Description:
Content-Disposition: attachment; filename="debug.log"

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IG5vdCBmb3VuZA0K

---559023410-641078858-1044328435=:14859
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo [at] postgresql.org

---559023410-641078858-1044328435=:14859--
Jessica Blank [ Di, 04 Februar 2003 04:13 ] [ ID #31300 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

Jessica,

Maybe all you need to do is create a soft link ?

Eg. ln -s libpq.so.3 libpq.so.2

Hope this helps
Regards
Rudi.

Jessica Blank wrote:

>The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
>expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
>...
>
>... I am really astonished that I could not find anyone else who had this
>problem. Am I doing something horridly wrong?
>
>What can I do? I try ./configure'ing PHP, but it tells me:
>gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
>-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
>-lm -lcrypt 1>&5
>Shared object "libpq.so.2" not found
>
>Complete debug.log installed.
>
>PLEASE help...
>
> --Jessica
>
> --
> Jessica L. Blank, Systems Administrator & Programmer
>
> www.starchefs.com
> 9 East 19th St., 9th Floor / New York, NY 10003
> Jessica [at] StarChefs.com - (973) 485-0684
> Pager (917) 675-6618
>
>
> Help Wanted. Help Found.
> www.helpwantedhelpfound.com, a division of StarChefs
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo [at] postgresql.org)
>
>
>




---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html
Rudi Starcevic [ Di, 04 Februar 2003 04:38 ] [ ID #31301 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to

On Tue, 4 Feb 2003, Rudi Starcevic wrote:

> Jessica,
>
> I think they will be compatible.
> It won't hurt to try.
>
> It there is a problem just remove the link you created and try something
> else.

I don't know what else I COULD try... besides compiling 7.3.0 and
installing ITS libpq.so.2 as well as 7.3.1's libpq.so.3 .... a real
"Band-aid" solution.

>
> Regards
> Rudi.
>
>
> Jessica Blank wrote:
>
> >I considered that, but I am afraid to do it. What if libpq.so.3 and
> >libpq.so.2 are not compatible?
> >
> >On Tue, 4 Feb 2003, Rudi Starcevic wrote:
> >
> >
> >
> >>Jessica,
> >>
> >>Maybe all you need to do is create a soft link ?
> >>
> >>Eg. ln -s libpq.so.3 libpq.so.2
> >>
> >>Hope this helps
> >>Regards
> >>Rudi.
> >>
> >>Jessica Blank wrote:
> >>
> >>
> >>
> >>>The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> >>>expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> >>>...
> >>>
> >>>... I am really astonished that I could not find anyone else who had this
> >>>problem. Am I doing something horridly wrong?
> >>>
> >>>What can I do? I try ./configure'ing PHP, but it tells me:
> >>>gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib
> >>>-R/usr/local/pgsql//lib -L/usr/local/pgsql//lib conftest.c -lpq -lcrypt
> >>>-lm -lcrypt 1>&5
> >>>Shared object "libpq.so.2" not found
> >>>
> >>>Complete debug.log installed.
> >>>
> >>>PLEASE help...
> >>>
> >>> --Jessica
> >>>
> >>> --
> >>> Jessica L. Blank, Systems Administrator & Programmer
> >>>
> >>> www.starchefs.com
> >>> 9 East 19th St., 9th Floor / New York, NY 10003
> >>> Jessica [at] StarChefs.com - (973) 485-0684
> >>> Pager (917) 675-6618
> >>>
> >>>
> >>> Help Wanted. Help Found.
> >>> www.helpwantedhelpfound.com, a division of StarChefs
> >>>
> >>>
> >>>
> >>>---------------------------(end of broadcast)---------------------------
> >>>TIP 2: you can get off all lists at once with the unregister command
> >>> (send "unregister YourEmailAddressHere" to majordomo [at] postgresql.org)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
> > --Jessica
> >
> > --
> > Jessica L. Blank, Systems Administrator & Programmer
> >
> > www.starchefs.com
> > 9 East 19th St., 9th Floor / New York, NY 10003
> > Jessica [at] StarChefs.com - (973) 485-0684
> > Pager (917) 675-6618
> >
> >
> > Help Wanted. Help Found.
> > www.helpwantedhelpfound.com, a division of StarChefs
> >
> >
> >
> >
>
>
>
>


--Jessica

--
Jessica L. Blank, Systems Administrator & Programmer

www.starchefs.com
9 East 19th St., 9th Floor / New York, NY 10003
Jessica [at] StarChefs.com - (973) 485-0684
Pager (917) 675-6618


Help Wanted. Help Found.
www.helpwantedhelpfound.com, a division of StarChefs



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo [at] postgresql.org
Jessica Blank [ Di, 04 Februar 2003 04:49 ] [ ID #31302 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

On Monday 03 February 2003 22:12, Jessica Blank wrote:
> The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> ...

Recompile PHP, and it will work. If you got it as an RPM, get the source=

(src.rpm) RPM and issue a 'rpmbuild --rebuild php....src.rpm' (substitute t=
he
version and other information for the dots above...).
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Lamar Owen [ Di, 04 Februar 2003 04:57 ] [ ID #31303 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due

I am using NetBSD 1.6 on a PowerMac. ;)

And I did compile PHP -after- Postgres. :/

On Mon, 3 Feb 2003, Lamar Owen wrote:

> On Monday 03 February 2003 22:12, Jessica Blank wrote:
> > The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> > expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> > ...
>
> Recompile PHP, and it will work. If you got it as an RPM, get the source
> (src.rpm) RPM and issue a 'rpmbuild --rebuild php....src.rpm' (substitute the
> version and other information for the dots above...).
> --
> Lamar Owen
> WGCR Internet Radio
> 1 Peter 4:11
>
>


--Jessica

--
Jessica L. Blank, Systems Administrator & Programmer

www.starchefs.com
9 East 19th St., 9th Floor / New York, NY 10003
Jessica [at] StarChefs.com - (973) 485-0684
Pager (917) 675-6618


Help Wanted. Help Found.
www.helpwantedhelpfound.com, a division of StarChefs



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Jessica Blank [ Di, 04 Februar 2003 04:59 ] [ ID #31304 ]

Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

On Monday 03 February 2003 22:59, Jessica Blank wrote:
> I am using NetBSD 1.6 on a PowerMac. ;)
>
> And I did compile PHP -after- Postgres. :/

Are you sure it picked up the right headers? Is there an older PostgreSQL =
on
the system? Are you absolutely sure that you compiled PHP against PostgreS=
QL
7.3.1? The fact is that others aren't able to reproduce the problem; furth=
er
it is a known fact that prior to 7.3.1 the right version was .2, but at 7.3=
..1
the version number was bumped to .3. So at some point in your PHP build th=
e
linker linked against the development headers/libs for .2 instead of .3. =

Something is telling the PHP build to look for the older version.

As no one else can reproduce it, it must be something unique to your
installation, at some point.

Do a 'find / -name 'libpq*' -print' and see if libpq-fe.h shows up in more=

than one place.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html
Lamar Owen [ Di, 04 Februar 2003 05:05 ] [ ID #31307 ]
Datenbanken » gmane.comp.db.postgresql.php » 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

Vorheriges Thema: Re: [GENERAL] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due
Nächstes Thema: [OT] PHP for ASP programmers